package com.wp;

import jdk.internal.org.objectweb.asm.tree.analysis.Value;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
import org.springframework.security.core.annotation.AuthenticationPrincipal;

@SpringBootApplication
@MapperScan(basePackages = "com.wp.dao")
@EnableGlobalMethodSecurity(prePostEnabled = true)
public class SpringSecurityThymeleafApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringSecurityThymeleafApplication.class, args);
    }

}
